package com.eshop.tools.service;

import java.io.IOException;
import javax.servlet.http.HttpServletResponse;
import com.eshop.tools.service.dto.QiniuConfigDto;
import java.util.List;
import java.util.Map;
import org.springframework.data.domain.Pageable;
import com.eshop.tools.service.dto.QiniuQueryCriteria;
import com.eshop.tools.domain.QiniuConfig;
import com.eshop.common.service.BaseService;

public interface QiniuConfigService extends BaseService<QiniuConfig>
{
    Map<String, Object> queryAll(final QiniuQueryCriteria criteria, final Pageable pageable);
    
    List<QiniuConfig> queryAll(final QiniuQueryCriteria criteria);
    
    void download(final List<QiniuConfigDto> all, final HttpServletResponse response) throws IOException;
    
    void update(final String type);
}
